package com.wt.listener;

import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

import java.util.Arrays;

/**
 * Created with IDEA
 * Describe:放置在容器进行事件监听
 * Author:TianJi
 * Date:2018/11/3
 * Time:15:46
 */
@Component
public class HelloCommandLineRunner implements CommandLineRunner {
    @Override
    public void run(String... args) throws Exception {
        System.out.println("CommandLineRunner.....run..."+Arrays.asList(args));
    }
}
